import request from '@/utils/request'

export function del(data) {
  return request({
    url: '/admin/order/del',
    method: 'post',
    data
  })
}

export function queryAll(data) {
  return request({
    url: '/admin/order/queryAll',
    method: 'post',
    data
  })
}

export function queryId(data) {
  return request({
    url: '/admin/order/queryId',
    method: 'get',
    params: data
  })
}

export function createTradePay(data) {
  return request({
    url: '/alipay/createTradePay',
    method: 'post',
    data
  })
}
export function createFunfreeze(data) {
  return request({
    url: '/alipay/createFunfreeze',
    method: 'post',
    data
  })
}
export function queryFreeze(data) {
  return request({
    url: '/alipay/queryFreeze',
    method: 'post',
    data
  })
}
export function setlogistics(data) {
  return request({
    url: '/admin/order/setlogistics',
    method: 'post',
    data
  })
}

